#@datagrid()
#define content_header()
<h1>
    <a href="/agency">代理会员管理</a>
    <small>agency tables</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
    <li><a href="/agency/">代理</a></li>
    <li class="active">代理会员管理</li>
</ol>
#end
<!--  提现明细 -->
#define content()
<div class="box">
    <div class="box-header">
        
        <!-- 个人信息 -->
        #include("_agencyinfopart.html")
        
	<!-- 选项卡 -->
        #if(user_type == "c1")
            #set(tabid="tabwithdraw_historyc1")
        #elseif(user_type == "c2")
            #set(tabid="tabwithdraw_historyc2")
        #else
            #set(tabid="tabwithdraw_history")
        #end
        #include("_subpage_navtabs.html")
        <!-- search -->
        #set(formaction="withdraw_rejected_list")
        #include("_searchform.html")
        <!--选项卡-->
        #set(tabid="withdraw_rejected_history")
        #include("_withdraw_navtab.html")
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <table class="xsui-datagrid table table-condensed table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>用户ID</th>
                    <th>会员名</th>
                    <th>提现金额</th>
                    <th>收款账号</th>
                    <th>持卡人姓名</th>
                    <th>开户银行</th>
                    <th>审核员ID</th>
                    <th>申请时间</th>
                    <th>审核时间</th>
                    <th>驳回原因</th>
                    <th>提现说明</th>
                </tr>
            </thead>
            <tbody>
                #for(x : listPage.getList())
                <tr data-key="#(x.id)">
                    <td>#(x.user_id)</td>
                    <td>#(x.nickname)</td>
                    <td>#(x.amount)</td>
                    <td>#(x.account)</td>
                    <td>#(x.holder)</td>
                    <td>#(x.bank_name)</td>
                    <td>#(x.auditor_id)</td>
                    <td>#(x.createTimeText)</td>
                    <td>#(x.auditTimeText)</td>
                    <td>#(x.rejected_remark)</td>
                    <td>#(x.remark)</td>
                </tr>
                #end
            </tbody>
        </table>
        <!--分页条-->
        #include("_pagination.html")
    </div>
    <!-- /.box-body -->
</div>
<!-- /.box -->
#end